package com.yunsc.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @version: 1.0
 * @Author: adan
 * @description: Minio配置类
 * @date: 2024-04-20 15:42
 */
@Component
@ConfigurationProperties(prefix = "minio")
@Data
public class MinioProperties {
    private String endpoint; // 域名
    private String publicEndpoint; // 域名
    private String accessKey; // 用户名
    private String secretKey; // 密码
    private String bucketName; // 存储桶名
    private String bucketFiles; // 文件存储桶名
    private String bucketVideoFiles; // 视频存储桶名
    private String bucketOtherFiles; // 视频存储桶名


// # minio配置
//     minio:
//     endpoint: http://47.120.12.107:9000
//     publicEndpoint: http://47.120.12.107:9090
//     accessKey: yunscminio
//     secretKey: yunscminio
//     bucketFiles: yunsc-images
//     bucketVideoFiles: yunsc-video
//     bucketOtherFiles: yunsc-file
}
